package cn.xopencode.scoreservice.convert.demand;

import cn.xopencode.common.framework.vo.PageResult;
import cn.xopencode.score.api.rpc.demand.dto.ScoreDetailsRespDTO;
import cn.xopencode.score.api.rpc.demand.dto.ScoreReqDTO;
import cn.xopencode.scoreservice.dal.mysql.dataobject.demand.ScoreDO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ScoreDetailsConvert {

    ScoreDetailsConvert INSTANCE = Mappers.getMapper(ScoreDetailsConvert.class);
    ScoreDO convert(ScoreReqDTO bean);
    ScoreDetailsRespDTO convert(ScoreDO bean);



}
